package edu.tyut.game.logic.model;

import java.io.Serial;
import java.io.Serializable;

// (winRate * 100 * 0.4 + total * 0.6)
public class Msg implements Serializable {
    @Serial
    private static final long serialVersionUID = 2730172416557200717L;
    private String content;
    private int type;

    @Override
    public String toString() {
        return "Msg{" +
                "content='" + content + '\'' +
                ", type=" + type +
                '}';
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public static final int TYPE_RECEIVED = 0;
    public static final int TYPE_SEND = 1;
}
